//
//  TripInfo.h
//  wuxinlvtu
//
//  Created by Apple on 12-3-5.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface RecommendTripInfo : NSObject
{
    NSString* _travellineid;
    NSString* _name;
    NSString* _author;
    NSString* _creattime;
    NSString* _memberid;
    NSString* _coverurl;
    NSString* _praisecount;
    NSString* _favorcount;
    NSString* _commentcount;
    NSString* _cmembericon;
    NSString* _fromcityid;
}

@property (nonatomic,retain)  NSString* travellineid;
@property (nonatomic,retain)  NSString* name;
@property (nonatomic,retain)  NSString* creattime; 
@property (nonatomic,retain)  NSString* memberid;
@property (nonatomic,retain)  NSString* coverurl;
@property (nonatomic,retain)  NSString* praisecount; 
@property (nonatomic,retain)  NSString* favorcount;
@property (nonatomic,retain)  NSString* commentcount;
@property (nonatomic,retain)  NSString* author;
@property (nonatomic,retain)  NSString* membericon;
@property (nonatomic,retain)  NSString* fromcityid;

@end

@interface TripPageInfo : NSObject
{
    NSInteger _currentPageId;
    BOOL _nextPage;
    NSInteger _totlePageCount;
    NSMutableArray* _tripArray;//tripInfo Array
}

@property (nonatomic,assign)  NSInteger currentPageId;
@property (nonatomic,assign)  BOOL nextPage;
@property (nonatomic,assign)  NSInteger totlePageCount;
@property (nonatomic,retain)  NSMutableArray* tripArray;

@end

@interface CityInfo : NSObject
{
    NSString* _cityid;
    NSString* _name;
    NSString* _pinyin;
}

@property (nonatomic,retain)  NSString* cityid;
@property (nonatomic,retain)  NSString* name;
@property (nonatomic,retain)  NSString* pinyin;

@end

@interface PlaceInfo : NSObject
{
    NSString* _shopid;
    NSString* _name;
    NSString* _review;
    NSString* _imageurl;
    NSString* _typeid;
    NSString* _cityid;
    NSString* _eventid;
}

@property (nonatomic,retain)  NSString* shopid;
@property (nonatomic,retain)  NSString* name;
@property (nonatomic,retain)  NSString* review;
@property (nonatomic,retain)  NSString* imageurl;
@property (nonatomic,retain)  NSString* typeid;
@property (nonatomic,retain)  NSString* cityid;
@property (nonatomic,retain)  NSString* eventid;

@end

@interface PlaceDetailInfo : PlaceInfo
{
    NSString* _telephone;
    NSString* _langitude;
    NSString* _latitude;
    NSString* _adress;
    NSString* _star;
}

@property (nonatomic,retain)  NSString* telephone;
@property (nonatomic,retain)  NSString* langitude;
@property (nonatomic,retain)  NSString* latitude;
@property (nonatomic,retain)  NSString* adress;
@property (nonatomic,retain)  NSString* star;


@end

@interface ElementPageInfo : NSObject
{
    NSInteger _currentPageId;
    BOOL _nextPage;
    NSInteger _totlePageCount;
    NSMutableArray* _elementArray;//PlaceInfo Array
}

@property (nonatomic,assign)  NSInteger currentPageId;
@property (nonatomic,assign)  BOOL nextPage;
@property (nonatomic,assign)  NSInteger totlePageCount;
@property (nonatomic,retain)  NSMutableArray* elementArray;
 
@end

@interface DatePartTripInfo : RecommendTripInfo
{
    CityInfo* _city;
    NSMutableArray* eventArray; 
}

@property (nonatomic,retain)  CityInfo* city;
@property (nonatomic,retain)  NSMutableArray* eventArray; 
@end

@interface TripInfo : RecommendTripInfo
{
    NSString* _starttime;
    NSString* _recommondpoint;
    NSString* _endtime;
    NSMutableDictionary* _datedic;
    NSString* _detail;
}

@property (nonatomic,retain)  NSString* starttime;
@property (nonatomic,retain)  NSString* recommondpoint;
@property (nonatomic,retain)  NSString* endtime;
@property (nonatomic,retain)  NSMutableDictionary* datedic;
@property (nonatomic,retain)  NSString* detail;

@end

@interface MyTripInfo : NSObject
{
    NSMutableArray* _tripinfoArray; //TripInfoArray
    NSInteger _currentPageId;
    BOOL _nextPage;
    NSInteger _totlePageCount;
    
}

@property (nonatomic,assign)  NSInteger currentPageId;
@property (nonatomic,assign)  BOOL nextPage;
@property (nonatomic,assign)  NSInteger totlePageCount;
@property (nonatomic,retain)  NSMutableArray* tripinfoArray;

@end